﻿using System;
using System.Data;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;
using eepg_contratos.Models;
using eepg_contratos.Utilities;
using System.IO;
using System.Collections;

namespace eepg_contratos.Controllers
{
    public class GeneralController : Controller
    {
        AppUtil u = new AppUtil();

        public String ListarPersonal(String filtro)
        {
            String lista = "";
            General g = new General();
            ArrayList arr = new ArrayList();
            arr = g.ListarPersonal(filtro);
            lista = u.ArrayToHtml(arr, "table");
  
            return lista;
        }

    }
}
